500
How can I select a column
G2antt1->MarkSearchColumn = false;
G2antt1->SingleSel = false;
G2antt1->FullRowSelect = Exg2anttlib_tlb::CellSelectEnum::exRectSel;
G2antt1->Columns->Add(L"Column1")->Selected = true;
G2antt1->Columns->Add(L"Column2");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("One"))),TVariant(1),TVariant("One"));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant("Two"))),TVariant(1),TVariant("Two"));
G2antt1->Items->SelectAll();

499
How can I avoid focusing a new cell, when user presses an arrow, page, home or end key, while the editor is opened
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exLeftArrow] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exRightArrow] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exUpArrow] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exDownArrow] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exHomeKey] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exEndKey] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exPageUpKey] = TVariant(0);
G2antt1->DefaultEditorOption[Exg2anttlib_tlb::EditorOptionEnum::exPageDownKey] = TVariant(0);
G2antt1->Columns->Add(L"Edit")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
G2antt1->Columns->Add(L"Edit")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(0))),TVariant(1),TVariant(1));
Exg2anttlib_tlb::IItemsPtr var_Items1 = G2antt1->Items;
	var_Items1->set_CellValue(TVariant(var_Items1->AddItem(TVariant(2))),TVariant(1),TVariant(3));

498
How can I expand predefined items in a drop down list editor as I type

G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"DropDown");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1));
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exExpandOnSearch,TVariant(true));
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
		var_Editor->DropDownAutoWidth = Exg2anttlib_tlb::DropDownWidthType::exDropDownEditorWidth;
		var_Editor->AddItem(1,L"<b>CObject</b> class",TVariant(1));
		var_Editor->InsertItem(2,L"<b>CCmdTarget</b> class",TVariant(2),TVariant(1));
		var_Editor->InsertItem(3,L"<b>CWnd</b> class",TVariant(3),TVariant(2));
		var_Editor->InsertItem(6,L"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",TVariant(1),TVariant(1));
		var_Editor->AddItem(4,L"Exceptions",TVariant(1));
		var_Editor->InsertItem(7,L"<b>System</b> Exceptions",TVariant(2),TVariant(4));
		var_Editor->AddItem(5,L"File Services",TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

497
How can I add an extra button to a date picker editor

G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
G2antt1->DefaultItemHeight = 20;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->AddButton(TVariant("B1"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->ButtonWidth = 20;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->AddItem(TVariant(1));

496
How can I add an extra button to a spin editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
G2antt1->DefaultItemHeight = 20;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SpinType;
	var_Editor->AddButton(TVariant("B1"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->ButtonWidth = 20;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->AddItem(TVariant(1));

495
How can I remove or delete the buttons in the editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam());
	var_Editor->RemoveButton(TVariant("B1"));
	var_Editor->ButtonWidth = 20;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Text 1"));
	var_Items->AddItem(TVariant("Text 2"));

494
How can I hide the buttons in the editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
G2antt1->DefaultItemHeight = 24;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam());
	var_Editor->ButtonWidth = 0;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Text 1"));
	var_Items->AddItem(TVariant("Text 2"));

493
How can I change the width of the buttons in the editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
G2antt1->DefaultItemHeight = 24;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam());
	var_Editor->ButtonWidth = 24;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Text 1"));
	var_Items->AddItem(TVariant("Text 2"));

492
How can I add extra buttons to an editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B2"),TVariant(2),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B2"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B3"),TVariant(3),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam());
	var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Text 1"));
	var_Items->AddItem(TVariant("Text 2"));

491
is there any function to specify the number of rows / items being visible in a drop down list editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
	var_Editor->DropDownRows = 1;
	var_Editor->PopupAppearance = Exg2anttlib_tlb::InplaceAppearanceEnum::FlatApp;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

490
How can I change the border for a drop down editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->PopupAppearance = Exg2anttlib_tlb::InplaceAppearanceEnum::FlatApp;
G2antt1->Items->AddItem(TVariant("Today"));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->get_CellEditor(TVariant(var_Items->AddItem(TVariant("Today"))),TVariant(0))->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;

489
How can I remove a predefined item in a drop down editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true));
	var_Editor->RemoveItem(255);
G2antt1->Items->AddItem(TVariant(255));
G2antt1->Items->AddItem(TVariant(65280));

488
How can I remove or clear all predefined items in a drop down editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
	var_Editor->ClearItems();
	var_Editor->AddItem(255,L"Red Color",TNoParam());
G2antt1->Items->AddItem(TVariant(255));

487
How can I center the predefined items in a drop down editor editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
	var_Editor->DropDownAlignment = Exg2anttlib_tlb::AlignmentEnum::CenterAlignment;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

486
How can I right align the items in a drop down editor editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
	var_Editor->DropDownAlignment = Exg2anttlib_tlb::AlignmentEnum::RightAlignment;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

485
How can I specify the width of the drop down editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->DropDownAutoWidth = Exg2anttlib_tlb::DropDownWidthType::exDropDownEditorWidth;
	var_Editor->DropDownMinWidth = 385;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(255));
	var_Items->AddItem(TVariant(65280));

484
How can hide the drop down button for an editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->DropDownVisible = false;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(255));
	var_Items->AddItem(TVariant(65280));

483
How can assign a tooltip to a drop down list editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
	var_Editor->set_ItemToolTip(TVariant(1),L"This is a tooltip that shows when user hovers the <b>first</b> item");
	var_Editor->set_ItemToolTip(TVariant(2),L"This is a tooltip that shows when user hovers the <b>second</b> item");
	var_Editor->set_ItemToolTip(TVariant(3),L"This is a tooltip that shows when user hovers the <b>third</b> item");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

482
How can I lock, disable make read only an editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->Locked = true;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

481
How can I sort the items in a drop down list editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"Second item",TNoParam());
	var_Editor->AddItem(2,L"First item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
	var_Editor->SortItems(TVariant(true),TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

480
How can I expand an item in the tree or a hierarchy of a drop down editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"DropDown");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1));
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
		var_Editor->DropDownAutoWidth = Exg2anttlib_tlb::DropDownWidthType::exDropDownEditorWidth;
		var_Editor->AddItem(1,L"<b>CObject</b> class",TVariant(1));
		var_Editor->InsertItem(2,L"<b>CCmdTarget</b> class",TVariant(2),TVariant(1));
		var_Editor->InsertItem(3,L"<b>CWnd</b> class",TVariant(3),TVariant(2));
		var_Editor->InsertItem(6,L"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",TVariant(1),TVariant(1));
		var_Editor->AddItem(4,L"Exceptions",TVariant(1));
		var_Editor->InsertItem(7,L"<b>System</b> Exceptions",TVariant(2),TVariant(4));
		var_Editor->AddItem(5,L"File Services",TVariant(2));
		var_Editor->set_ExpandItem(TVariant(1),true);
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

479
How can I display a tree or a hierarchy in a drop down editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"DropDown");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1));
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
		var_Editor->DropDownAutoWidth = Exg2anttlib_tlb::DropDownWidthType::exDropDownEditorWidth;
		var_Editor->AddItem(1,L"<b>CObject</b> class",TVariant(1));
		var_Editor->InsertItem(2,L"<b>CCmdTarget</b> class",TVariant(2),TVariant(1));
		var_Editor->InsertItem(3,L"<b>CWnd</b> class",TVariant(3),TVariant(2));
		var_Editor->InsertItem(6,L"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",TVariant(1),TVariant(1));
		var_Editor->AddItem(4,L"Exceptions",TVariant(1));
		var_Editor->InsertItem(7,L"<b>System</b> Exceptions",TVariant(2),TVariant(4));
		var_Editor->AddItem(5,L"File Services",TVariant(2));
		var_Editor->ExpandAll();
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

478
How can I look for items that includes the typed characters in a drop down list editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exAutoSearch,TVariant(1));
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

477
How can I keep the selection background color while editor is visible

G2antt1->SelBackColor = RGB(255,0,0);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exKeepSelBackColor,TVariant(true));
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TNoParam());
	var_Editor->AddItem(2,L"Second item",TNoParam());
	var_Editor->AddItem(3,L"Third item",TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

476
How can I select from a drop down list the editor, when the user starts typing in the editor, while it is closed and focused
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exAutoDropDownList,TVariant(1));
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TVariant(1));
	var_Editor->AddItem(2,L"Second item",TVariant(3));
	var_Editor->AddItem(3,L"Third item",TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

475
How can I automatically drop down the list editor, when the user starts typing in the editor
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exAutoDropDownList,TVariant(-1));
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"First item",TVariant(1));
	var_Editor->AddItem(2,L"Second item",TVariant(3));
	var_Editor->AddItem(3,L"Third item",TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

474
How can I add a Font editor
G2antt1->Columns->Add(L"Font")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::FontType;
G2antt1->Items->AddItem(TVariant("Tahoma"));

473
How can I change the visual appearance for the buttons in the calculator editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcPictureUp,G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcPictureDown,G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)"));
G2antt1->Items->AddItem(TVariant(10));

472
How can I customize the caption of buttons in the calculator editor

Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcButtons,TVariant("0;1;2;3;4;5;6;7;8;9;<b>+</b>;<fgcolor=FF0000>=</fgcolor>"));
G2antt1->Items->AddItem(TVariant(10));

471
How can I customize the caption of buttons in the calculator editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcButtons,TVariant("0;1;2;3;4;5;6;7;8;9"));
G2antt1->Items->AddItem(TVariant(10));

470
How can I specify the width and height of the buttons in the calculator editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcButtonWidth,TVariant(32));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcButtonHeight,TVariant(32));
G2antt1->Items->AddItem(TVariant(10));

469
How can I change the "Cannot divide by zero" message that shows in the calculator editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcCannotDivideByZero,TVariant("Divizion by zero"));
G2antt1->Items->AddItem(TVariant(10));

468
How can I enable or disable executing operations while the calculator editor is focused and closed
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCalcExecuteKeys,TVariant(false));
G2antt1->Items->AddItem(TVariant(10));

467
How can I add a calculator editor

G2antt1->Columns->Add(L"Slider")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CalculatorType;
G2antt1->Items->AddItem(TVariant(10));

466
How can I edit a number between a range or interval
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exInteger;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSpinStep,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15));
G2antt1->Items->AddItem(TVariant(10));

465
How can I hide or show the spin in the slider or track bar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSpinStep,TVariant(0));
G2antt1->Items->AddItem(TVariant(10));

464
How can I add a slider or track bar editor, with a fixed size
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(64));
G2antt1->Items->AddItem(TVariant(10));

463
How can I add a slider or track bar editor, so it covers half of the cell
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(-50));
G2antt1->Items->AddItem(TVariant(10));

462
How can I add a slider or track bar editor, so it covers the full cell
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Slider")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(-100));
G2antt1->Items->AddItem(TVariant(10));

461
How can I add a slider or track bar editor within a range or interval of numbers
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Spin from 5 to 15")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exInteger;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15));
G2antt1->Items->AddItem(TVariant(10));

460
How can I add a slider or track bar editor within a range or interval of float numbers
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Spin from 5 to 15")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exFloat;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMin,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMax,TVariant(1));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSpinStep,TVariant("0.01"));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderStep,TVariant("0.01"));
G2antt1->Items->AddItem(TVariant("0.3"));

459
How can I add a spin editor within a range or interval of float numbers
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Spin from 5 to 15")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exFloat;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMin,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMax,TVariant(1));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSpinStep,TVariant("0.01"));
G2antt1->Items->AddItem(TVariant("0.3"));

458
How can I add a spin editor within a range or interval of numbers
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Spin from 5 to 15")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exInteger;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15));
G2antt1->Items->AddItem(TVariant(10));

457
How can I add a slider or track bar editor
G2antt1->Columns->Add(L"Slider")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SliderType;
G2antt1->Items->AddItem(TVariant(10));

456
I have check box column, but the check-boxes looks disabled. What can I do
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Check")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CheckValueType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCheckValue2,TVariant(1));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(false));
	var_Items->AddItem(TVariant(true));
	var_Items->AddItem(TVariant(false));

455
How do I add check box column, so the cell value is changed as I click the cells
G2antt1->MarkSearchColumn = false;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"C");
	var_Column->Width = 18;
	var_Column->AllowSizing = false;
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CheckValueType;
		var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exCheckValue2,TVariant(1));
G2antt1->Columns->Add(L"Text");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(false))),TVariant(1),TVariant("Check 1"));
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(true))),TVariant(1),TVariant("Check 2"));
	var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(false))),TVariant(1),TVariant("Check 3"));

454
How do I add check box column, so the cell value is changed as I click the cells
G2antt1->Columns->Add(L"Check")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CheckValueType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(false));
	var_Items->AddItem(TVariant(true));
	var_Items->AddItem(TVariant(false));

453
How do I disable adding new lines using the ENTER key in a memo or a multiple lines edit control

Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoDropDownType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoDropDownAcceptReturn,TVariant(false));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

452
How do I add a vertical scroll bar for a memo or a multiple lines edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoDropDownType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

451
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoDropDownType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

450
How can I specify the width or the height for a drop down memo or a multiple lines edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoDropDownType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoDropDownWidth,TVariant(256));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoDropDownHeight,TVariant(64));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

449
How do I add a drop down memo or a multiple lines edit control
G2antt1->Columns->Add(L"Edit")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoDropDownType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

448
How do I add a color list editor with my own or custom colors
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true));
	var_Editor->ClearItems();
	var_Editor->AddItem(255,L"Red Color",TNoParam());
	var_Editor->AddItem(16711680,L"Blue Color",TNoParam());
	var_Editor->AddItem(65280,L"Green Color",TNoParam());
G2antt1->Items->AddItem(TVariant(255));

447
How do I add a color list editor with my own or custom colors

Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
	var_Editor->ClearItems();
	var_Editor->AddItem(255,L"Red Color",TNoParam());
	var_Editor->AddItem(16711680,L"Blue Color",TNoParam());
	var_Editor->AddItem(65280,L"Green Color",TNoParam());
G2antt1->Items->AddItem(TVariant(255));

446
How can I show the color's name in a color list editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true));
G2antt1->Items->AddItem(TVariant(255));

445
How do I add a color list editor
G2antt1->Columns->Add(L"Color")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorListType;
G2antt1->Items->AddItem(TVariant(255));

444
How can I access my own custom or ActiveX editor

G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
G2antt1->DefaultItemHeight = 128;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::UserEditorType;
	var_Editor->UserEditor(L"MSCAL.Calendar",L"");
	/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft Calendar Control 2007

	TypeLib: MSCAL.OCX

	to define the namespace: Msacal_tlb
*/
//#include "MSACAL_TLB.h"
	Msacal_tlb::ICalendarPtr var_Calendar = (IDispatch*)var_Editor->UserEditorObject;
		var_Calendar->BackColor = RGB(255,255,255);
		var_Calendar->GridCellEffect = 0;
		var_Calendar->ShowTitle = false;
		var_Calendar->ShowDateSelectors = false;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("MSCal.Calendar"));
	var_Items->AddItem(TVariant("MSCal.Calendar"));

443
How can I add my own custom or ActiveX editor
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
G2antt1->DefaultItemHeight = 128;
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::UserEditorType;
	var_Editor->UserEditor(L"MSCAL.Calendar",L"");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("MSCal.Calendar"));
	var_Items->AddItem(TVariant("MSCal.Calendar"));

442
How can I add a hyperlink editor
G2antt1->Columns->Add(L"Shell.Execute")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::LinkEditType;
G2antt1->Items->AddItem(TVariant("http://www.exontrol.com"));
G2antt1->Items->AddItem(TVariant("c:\\"));

441
How can I add a drop down editor, that allows only predefined values, but still being able to edit and select

G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::PickEditType;
	var_Editor->AddItem(1,L"The first item",TVariant(1));
	var_Editor->AddItem(2,L"The second item",TVariant(3));
	var_Editor->AddItem(3,L"The third item",TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("The first item"));
	var_Items->AddItem(TVariant("The third item"));

440
How can I show or hide the rectangle arround progress bar editor

G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Progress")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exProgressBarMarkTicker,TVariant(false));
G2antt1->Items->AddItem(TVariant(33));

439
How can I hide the caption / percent in the progress bar editor
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Progress")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(-1));
G2antt1->Items->AddItem(TVariant(33));

438
How can I align the caption in the center of the progress bar editor
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Progress")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(1));
G2antt1->Items->AddItem(TVariant(33));

437
How can I align the caption to the right in the progress bar editor
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Progress")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(2));
G2antt1->Items->AddItem(TVariant(33));

436
How can I change the background color for a progress bar editor
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Progress")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exProgressBarBackColor,TVariant(255));
G2antt1->Items->AddItem(TVariant(33));

435
How can I add a progress bar editor
G2antt1->SelForeColor = RGB(0,0,0);
G2antt1->SelBackColor = RGB(128,255,255);
G2antt1->Columns->Add(L"Progress")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ProgressBarType;
G2antt1->Items->AddItem(TVariant(33));

434
How can I add a button editor
G2antt1->Columns->Add(L"Button")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ButtonType;
G2antt1->Items->AddItem(TVariant("Just a text"));

433
How can I show or hide the type of the OLE Object for Photo or a Picture editor

G2antt1->ColumnAutoResize = false;
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Photo");
	var_Column->Width = 74;
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::PictureType;
		var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exShowPictureType,TVariant(false));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TNoParam());
	var_Items->set_CellValue(TVariant(h),TVariant(0),G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)"));
	var_Items->set_ItemHeight(h,64);

432
How can I add a Photo or a Picture editor

G2antt1->Columns->Add(L"Photo")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::PictureType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TNoParam());
	var_Items->set_CellValue(TVariant(h),TVariant(0),G2antt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)"));
	var_Items->set_ItemHeight(h,64);

431
How can I hide or show the "System" page in the color editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exColorShowSystem,TVariant(false));
G2antt1->Items->AddItem(TVariant(255));

430
How can I hide or show the "Palette" page in the color editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Color")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exColorShowPalette,TVariant(false));
G2antt1->Items->AddItem(TVariant(255));

429
How do I add a color editor

G2antt1->Columns->Add(L"Color")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::ColorType;
G2antt1->Items->AddItem(TVariant(255));

428
How do I change the masking character
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Mask")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MaskType;
	var_Editor->Mask = L"###";
	var_Editor->MaskChar = 48;
G2antt1->Items->AddItem(TVariant(""));

427
How do I mask an IP
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"IP")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MaskType;
	var_Editor->Mask = L"{0,255}\\.{0,255}\\.{0,255}\\.{0,255}";
G2antt1->Items->AddItem(TVariant("1.2.3.4"));

426
How do I add a mask editor

Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Mask")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MaskType;
	var_Editor->Mask = L"{0,255}\\.{0,255}\\.{0,255}\\.{0,255}";
G2antt1->Items->AddItem(TVariant("1.2.3.4"));

425
How to show or hide the week numbers header in a drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateWeeksHeader,TVariant(true));
G2antt1->Items->AddItem(TVariant("Today"));

424
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateShowScroll,TVariant(false));
G2antt1->Items->AddItem(TVariant("Today"));

423
How do highlight the "Today" date is the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateMarkToday,TVariant(true));
G2antt1->Items->AddItem(TVariant("Today"));

422
How do I show or hide the "Today" button is the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateShowTodayButton,TVariant(false));
G2antt1->Items->AddItem(TVariant("Today"));

421
How to specify the first day of the week in the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateFirstWeekDay,TVariant(1));
G2antt1->Items->AddItem(TVariant("Today"));

420
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateWeekDays,TVariant("Du Lu Ma Mi Jo Vi Si"));
G2antt1->Items->AddItem(TVariant("Today"));

419
How can I change the name of the months in the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateMonths,TVariant("Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"));
G2antt1->Items->AddItem(TVariant("Today"));

418
Can I change the "Today" caption being displayed in the drop down date picker calendar editor
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateTodayCaption,TVariant("Azi"));
G2antt1->Items->AddItem(TVariant("Today"));

417
How can allow empty date to drop down date picker control or a calendar control

Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Date")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDateAllowNullDate,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(TDateTime(2012,5,12).operator double()));
	var_Items->AddItem(TVariant(""));
	var_Items->AddItem(TVariant(TDateTime(2012,5,14).operator double()));

416
How can I a drop down date picker control or a calendar control
G2antt1->Columns->Add(L"Date")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DateType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Today"));

415
How can I have an OR combination of my bit values, something like a check-box list editor

Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"CkeckList");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1));
	Exg2anttlib_tlb::IEditorPtr var_Editor = var_Column->Editor;
		var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::CheckListType;
		var_Editor->AddItem(1,L"Bit <b>1</b>",TNoParam());
		var_Editor->AddItem(2,L"Bit <b>2</b>",TNoParam());
		var_Editor->AddItem(4,L"Bit <b>3</b>",TNoParam());
		var_Editor->AddItem(8,L"Bit <b>4</b>",TNoParam());
		var_Editor->AddItem(16,L"Bit <b>5</b>",TNoParam());
		var_Editor->AddItem(32,L"Bit <b>6</b>",TNoParam());
		var_Editor->AddItem(64,L"Bit <b>7</b>",TNoParam());
		var_Editor->AddItem(128,L"Bit <b>8</b>",TNoParam());
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(112));
	var_Items->AddItem(TVariant(2));

414
How do I stop resizing the memo or a multiple lines edit control, while the user types
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoAutoSize,TVariant(false));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

413
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

412
How do I add a vertical scroll bar for a memo or a multiple lines edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") +
"e line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

411
How do I add a memo or a multiple lines edit control
G2antt1->Columns->Add(L"Edit")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::MemoType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exg2anttlib_tlb::CellSingleLineEnum::exCaptionWordWrap);

410
How to specify the proposed change when the user clicks a spin control.
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SpinType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exInteger;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exSpinStep,TVariant(10));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->AddItem(TVariant(10));
	var_Items->AddItem(TVariant(20));

409
How do I add a spin editor that allows only integer values
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SpinType;
	var_Editor->Numeric = Exg2anttlib_tlb::NumericEnum::exInteger;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

408
How do I add a spin editor
G2antt1->Columns->Add(L"Edit")->Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::SpinType;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

407
How do I specify in a drop down list editor, that I do not want to have predefined icon
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"The first item",TVariant(1));
	var_Editor->AddItem(2,L"The second item",TVariant(3));
	var_Editor->AddItem(3,L"The third item",TVariant(2));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exDropDownImage,TVariant(false));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

406
How do I add a drop down editor, that allows only predefined values
G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"DropDown")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::DropDownListType;
	var_Editor->AddItem(1,L"The first item",TVariant(1));
	var_Editor->AddItem(2,L"The second item",TVariant(3));
	var_Editor->AddItem(3,L"The third item",TVariant(2));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(2));

405
How to allow the editor to work on insert or overtype mode
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditAllowOverType,TVariant(true));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditOverType,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("000"));
	var_Items->AddItem(TVariant("111"));
	var_Items->AddItem(TVariant("222"));

404
How to set foreground color for a locked, or read only edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->Locked = true;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditLockedForeColor,TVariant(8421504));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("000"));
	var_Items->AddItem(TVariant("111"));
	var_Items->AddItem(TVariant("222"));

403
How to set background color for a locked, or read only edit control
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->Locked = true;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditLockedBackColor,TVariant(8421504));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("000"));
	var_Items->AddItem(TVariant("111"));
	var_Items->AddItem(TVariant("222"));

402
How to set the number of characters selected, when an EditType editor is opened
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditSelLength,TVariant(1));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("000"));
	var_Items->AddItem(TVariant("111"));
	var_Items->AddItem(TVariant("222"));

401
How to set the starting point of text selected, when an EditType editor is opened
Exg2anttlib_tlb::IEditorPtr var_Editor = G2antt1->Columns->Add(L"Edit")->Editor;
	var_Editor->EditType = Exg2anttlib_tlb::EditTypeEnum::EditType;
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditSelStart,TVariant(1));
	var_Editor->set_Option(Exg2anttlib_tlb::EditorOptionEnum::exEditSelLength,TVariant(1));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("000"));
	var_Items->AddItem(TVariant("111"));
	var_Items->AddItem(TVariant("222"));